Set Bluetooth Group and Device ID
Function:
magicbox.set_bt_mesh(group, id)Description: set device ID of bluetooth group
Required parameter:
- group: name of bluetooth group, range: 6 bytes, and each byte is 0~9
- id: group ID, range: 0~255
Return:
- True: The ID has been set successfully.
- False: The ID failed to be be set.
Example
magicbox.set_bt_mesh(group="123456", id=1)Set the name of bluetooth group as "123456", and id as 1.